EssentialBlocks\Blocks\TableOfContents B

Total Complexity 88
Dependencies 2
Dependents 0
Total lines 438
Lines of code 317
Logical lines of code 184
Comment lines 74
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
render_callback()
D
26
43 121
getHeadersFromContent()
A
46 10 39
getHeadingsFromHeadingElements()
A
47 10 36
generate_toc()
A
49 9 30
get_editor_type()
S
60 8 12
parseTocSlug()
S
58 2 16
__construct()
S
51 1 29
allowed_html()
S
57 1 19
areAllFalse()
S
72 2 5
get_name()
S
82 1 3
register_scripts()
S
70 1 7